{extend name="panel/layout" /}
{block name="main"}
<div class="row">
    <div class="col-sm-12">
        <h4 class="page-title">
            <ul class="breadcrumb">
                <li><i class="fa fa-home"></i><a href="/"> 首页</a></li>
                <li><i class="fa fa-desktop"></i><a href="{:url('index')}"> 控制面板</a></li>
                <li class="active">收支明细</li>
            </ul>
        </h4>
    </div>
</div>
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-warning table-responsive">
            <div class="panel-heading">
                收支明细
                <span class="label label-danger pull-right">余额:{$userInfo.point}元</span>
            </div>
            <div class="panel-body">
                <div class="col-lg-12 table-responsive">
                    <table class="table table-bordered table-condensed table-hover table-striped table-vertical-center">
                        <thead>
                        <tr>
                            <th class="text-center">记录ID</th>
                            <th class="text-center">类型</th>
                            <th class="text-center">金额</th>
                            <th class="text-center">详情</th>
                            <th class="text-center">时间</th>
                        </tr>
                        </thead>
                        <tbody>
                        {volist name="$points" id="point"}
                        <tr>
                            <td class="text-center">{$point.id}</td>
                            <td class="text-center">{$point.action}</td>
                            <td class="text-center">{$point.point}</td>
                            <td>{$point.bz}</td>
                            <td class="text-center">{$point.addtime}</td>
                        </tr>
                        {/volist}
                        <tr class="text-center">
                            <td colspan="10">{$pageList->showPage()}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}